Authorizations
Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI
Body
application/json
Response
OK
curl --request POST \
  --url https://amoy-indexer.sequence.app/rpc/Indexer/SubscribeEvents \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Key: <api-key>' \
  --data '{
  "filter": {
    "events": [
      "<string>"
    ],
    "contractAddresses": [
      "<string>"
    ],
    "accounts": [
      "<string>"
    ],
    "tokenIDs": [
      "<string>"
    ]
  }
}'{
  "log": {
    "id": 123,
    "uid": "<string>",
    "type": "UNKNOWN",
    "blockNumber": 123,
    "blockHash": "<string>",
    "parentBlockHash": "<string>",
    "contractAddress": "<string>",
    "contractType": "UNKNOWN",
    "txnHash": "<string>",
    "txnIndex": 123,
    "txnLogIndex": 123,
    "logDataType": "EVENT",
    "ts": "<string>",
    "txnInfo": {
      "from": "<string>",
      "to": "<string>",
      "value": "<string>"
    },
    "rawLog": {},
    "event": {
      "topicHash": "<string>",
      "eventSig": "<string>",
      "types": [
        "<string>"
      ],
      "names": [
        "<string>"
      ],
      "values": [
        "<string>"
      ]
    }
  }
}On Sepolia Mainnet, subscribe and receive receipts based on a filter of transaction mints
curl --request POST \
  --url https://amoy-indexer.sequence.app/rpc/Indexer/SubscribeEvents \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Key: <api-key>' \
  --data '{
  "filter": {
    "events": [
      "<string>"
    ],
    "contractAddresses": [
      "<string>"
    ],
    "accounts": [
      "<string>"
    ],
    "tokenIDs": [
      "<string>"
    ]
  }
}'{
  "log": {
    "id": 123,
    "uid": "<string>",
    "type": "UNKNOWN",
    "blockNumber": 123,
    "blockHash": "<string>",
    "parentBlockHash": "<string>",
    "contractAddress": "<string>",
    "contractType": "UNKNOWN",
    "txnHash": "<string>",
    "txnIndex": 123,
    "txnLogIndex": 123,
    "logDataType": "EVENT",
    "ts": "<string>",
    "txnInfo": {
      "from": "<string>",
      "to": "<string>",
      "value": "<string>"
    },
    "rawLog": {},
    "event": {
      "topicHash": "<string>",
      "eventSig": "<string>",
      "types": [
        "<string>"
      ],
      "names": [
        "<string>"
      ],
      "values": [
        "<string>"
      ]
    }
  }
}Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI
Show child attributes
OK
Show child attributes
Was this page helpful?